package com.pine.app.module.security.core.authorize.annotation;

import com.pine.app.module.security.oauth.plugin.Logical;

import java.lang.annotation.*;

/**
 * @Author:xiaoyuan
 * @Description:
 * @Date: 13:01 2020/3/13
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface RoleAuthorize {
    String[] value();
    //拥有的角色的逻辑处理关系
    Logical  logical() default Logical.OR;
}
